package com.neu.icloud.service;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.neu.icloud.entity.Plan;

public interface PlanService {

	//查询计划
	public List<Plan> listPlanById(Integer orderId);
	
	//根据计划状态查询
	public List<Plan> listPlanByState(String planState);
	
	//查询产品名称
	public String selectByPlanId(Integer planId);
	
	//全查
	public List<Plan> listPlan();
	
	//增加计划
	public int savePlan(Plan plan);
	
	//启动计划
	public int updatePlan(Plan plan);
	
	//删除计划
	public int removePlan(Integer planId);
	
	//修改计划状态
	public int updatePlanState(Integer planId);
}
